package com.glink.manage.dto.sip;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

import javax.validation.constraints.NotBlank;
import java.io.Serializable;
import java.util.List;

/**
 * @author xum
 * @since 2024/10/22
 **/
@Data
public class UpdateDeviceDTO implements Serializable {

    @NotBlank(message = "视频代理SIP用户名不能为空")
    @Schema(name = "proxySipCode",description = "设备SIP用户名")
    private String proxySipCode;

    @NotBlank(message = "设备SIP用户名不能为空")
    @Schema(name = "sipCode",description = "设备SIP用户名")
    private String sipCode;

    @NotBlank(message = "原本接入协议不能为空")
    @Schema(name = "originAccessProtocol",description = "设备SIP用户名")
    private String originAccessProtocol;

    @NotBlank(message = "当前接入协议不能为空")
    @Schema(name = "currentAccessProtocol",description = "设备SIP用户名")
    private String currentAccessProtocol;

    @NotBlank(message = "视频通道编码不能为空")
    @Schema(name = "channelCodeList",description = "视频通道编码")
    private List<String> channelCodeList;

}
